Skip to content

feat: implement vehicles, GNC, insurance and alerts modules with AI extraction#2

Merged
ostasiulevicius merged 2 commits into
masterfrom
feat/fleet-modules
Jul 10, 2026
Merged

feat: implement vehicles, GNC, insurance and alerts modules with AI extraction#2
ostasiulevicius merged 2 commits into
masterfrom
feat/fleet-modules

Conversation

@ostasiulevicius

Copy link
Copy Markdown
Owner

Implementacion completa de los 4 modulos - Vehiculos con AI vision + R2, GNC con historial y alertas, Seguros con PDF/imagen y companias dinamicas, y dropdowns con filtro en tiempo real. Ver commits para detalle.

ostasiulevicius and others added 2 commits June 6, 2026 11:05
…untos

- Scraper captures prueba images per-acta sequentially (not globally grouped)
- Backend import downloads scraper images locally to /uploads/multas/:id/ instead of storing external links (fallback to link if download fails)
- Pruebas viewer: dark blue panel, draggable, 4 drop zones, Ctrl+V paste, crop tool via getDisplayMedia
- Images pasted manually (blob: / data: URLs) are uploaded as real files after import via FormData
- Import endpoint returns inserted IDs so frontend can upload manual images to correct multa
- Adjuntos tab shows ACTA number as header above gallery
- Link-type adjuntos attempt to render as <img> with chain-icon fallback
- Modal title includes numero_acta (patente · acta · fecha · hora)
- hora_infraccion extracted from datetime-local field on import (split at T)
- fecha/hora cells in verification table always editable with datetime-local + DatePicker
- Anti-ESC protection on modal-verificacion and pruebas viewer (confirm before losing work)
- ESC closes DatePicker popup first before propagating to modal (capture:true)
- Dirty state tracking on forms; confirmation on ESC for new/edit modals
- Fix: rendiciones detalle multas column (was checking _origen === 'pagos', field absent)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ostasiulevicius ostasiulevicius merged commit 14d1d43 into master Jul 10, 2026
@ostasiulevicius ostasiulevicius deleted the feat/fleet-modules branch July 10, 2026 02:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant